package com.homedo.odin.solution.model.request.mng.column;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;
import lombok.Data;
import org.hibernate.validator.constraints.NotEmpty;

@ApiModel(description = "栏目sku")
@JsonIgnoreProperties(ignoreUnknown = true)
@Data
public class ColumnSkuRequestBean {
//	@ApiModelProperty(value = "栏目编号",required = true)
//	@NotNull(message = "栏目编号不能为空")
//	@Min(message = "栏目编号非法",value = 0)
//	private Long columnId;

    @ApiModelProperty(value = "商品skuId", required = true)
    @NotEmpty(message = "商品skuId不能为空")
    private String skuId;

    @ApiModelProperty(value = "sku名称", required = true)
    @NotEmpty(message = "sku名称不能为空")
    private String skuName;

    @ApiModelProperty(value = "sku状态", required = true)
    @NotNull(message = "sku状态不能为空")
    @Min(message = "sku状态非法", value = 0)
    private Integer status;
}
